@import "_mixin.scss";
// @import "_ygsc_index.scss";
// @import "_ygsc_header.scss";

%width{
    width: 1200px;
    margin: auto;
    margin-top: 20px;
    // background-color: #F2F2F2;
}
%postion{
    display: flex;
    align-items: center;
    background-color: #FFF;
    border: solid 1px #FFF;
    transition: border-color 0.15s;
}
%flex_row{
    display: flex;
    align-items: center;
    flex-direction: row;
    // justify-content: space-around;
}
%flex_colum{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
}
$sad:20px;
#daohang{
    @extend %width;
    height: 50px;
    @extend %flex_row;
    background-color: #F2F2F2;
    h3{
        margin-left: $sad;
        font-size: $sad;
    }
    p{
        margin-left: $sad;
        $width: 30px;
        padding: 5px;
        color: white;
        font-weight: bolder;
        height: $width;
        line-height: $width;
        text-align: center;
        cursor: pointer;
        background-color: rgb(52, 165, 109);
        box-shadow: 0 0 2px 2px #F8F8F8;
        border-radius: 5px;
    }
}
#neiron{
    @extend %width;
    @extend %flex_row;
    justify-content: space-between;
    flex-wrap: wrap;
      li{
        @extend %flex_colum;
        width: 240px;
        height: 475px;
        margin: 20px;
        box-sizing: border-box;
        padding: 0 10px;
        border:1px dashed salmon;
        img{
            $widthF: 220px;
            width: $widthF;
            height:$widthF;
            margin-top: 20px;
            margin-bottom: 20px;
        }
        .biaoti{
            height: 56px;
            &:hover{
                color: greenyellow;
            }
        }
        /* 添加伪类，使最后一行左对齐 */
        &:hover{
            border: solid 1px #E9E9E9;
            box-shadow: 0 0 2px 2px #F8F8F8;
          }
    } 
    &:after {
        content: "";
        /*这个宽度和子元素宽度一致*/
        width: 240px;
        height: 0;
        display: block;
      }
      button{
        width: 87px;
        border: 1px solid gray;
        &:hover{
            border-color: greenyellow;
        }
    }
}

 
#descrption_neiron{
    font-size: 20px;
    color: red;
    span{
        font-size: 14px !important;
        text-decoration: line-through;
        color: grey;
        margin-left: 5px;

    }
}


.page{
    width: 600px;
    margin: auto;
}